package com.company.project.pojo.user;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class UserVO {

    private Integer id;
    @ApiModelProperty(value="token")
    private String token;
    @ApiModelProperty(value="用户名")
    private String username;
    @ApiModelProperty(value="账号")
    private String account;
    @ApiModelProperty(value="角色id")
    private Integer roleId;
    @ApiModelProperty(value="单位id")
    private Integer institutionId;
    @ApiModelProperty(value="单位名称")
    private String institutionName;
    @ApiModelProperty(value="1：职能单位，2：管理区")
    private Integer institutionType;
    @ApiModelProperty(value="权限编码列表")
    private List<String> permissionCodeList;


    public Integer getInstitutionType() {
        return institutionType;
    }

    public void setInstitutionType(Integer institutionType) {
        this.institutionType = institutionType;
    }

    public List<String> getPermissionCodeList() {
        return permissionCodeList;
    }

    public void setPermissionCodeList(List<String> permissionCodeList) {
        this.permissionCodeList = permissionCodeList;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(Integer institutionId) {
        this.institutionId = institutionId;
    }
}
